<?php
namespace app\models\request;

use app\components\ActTimeValidator;
use yii\base\Model;

class ReqApplyUpdate extends Model
{
    private $applyId ;

    private $userId;

    private $actTime;

    /**
     * @return mixed
     */
    public function getApplyId()
    {
        return $this->applyId;
    }

    /**
     * @param mixed $applyId
     */
    public function setApplyId($applyId)
    {
        $this->applyId = $applyId;
    }

    /**
     * @return mixed
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * @param mixed $userId
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;
    }

    /**
     * @return mixed
     */
    public function getActTime()
    {
        return $this->actTime;
    }

    /**
     * @param mixed $actTime
     */
    public function setActTime($actTime)
    {
        $this->actTime = $actTime;
    }







    public function rules()
    {
        return [
            [['applyId','actTime'], 'required'],
            ['actTime', ActTimeValidator::class],
        ];
    }


}